package cn.tedu.charging.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;
import java.util.List;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class UserVO {
    @ApiModelProperty(value = "用户id")
    Long id;
    @ApiModelProperty(value = "用户账号")
    String tel;
    @ApiModelProperty(value = "用户名")
    String username;
    @ApiModelProperty(value = "用户密码")
    String password;
    @ApiModelProperty(value = "用户状态")
    String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    Date createTime;
    @ApiModelProperty(value = "权限集合")
    List<Long> permList;
}
